package com.tulun;

import com.tulun.service.QuartzService;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args ) {
        String defaultPath = "/Users/gongdezhe/Books/";
        String cron = "0/3 * * * * ?";
        QuartzService quartzService = null;
        try {
            quartzService = new QuartzService(defaultPath, cron);
        } catch (Exception e) {
            e.printStackTrace();
        }
        quartzService.schedule();
    }
}
